个人收款-申请异常结算批次单处理
申请异常结算批次单处理
请求参数 | 类型 | 描述 |
---|---|---|
settle_batch_no | string | 微信支付结算批次单号 |
json | object | 声明请求的JSON 数据结构 |
individual_auth_id | string | 商品单个人收款方受理授权ID |
out_abnormal_settle_batch_no | string | 商户异常结算批次单号 |
abnormal_settle_type | string | 异常结算批次单处理方式TRANSFER_TO_ORIGINAL_RECEIVE_USER 枚举值 |
description | string | 异常处理说明 |
php
$instance->v3->platsolution->ecommerce->settle->prepaySettleOrders->_settle_batch_no_->applyAbnormalSettle->postAsync([
'settle_batch_no' => '123685544886666',
'json' => [
'individual_auth_id' => '256322110225',
'out_abnormal_settle_batch_no' => '1236698745558870',
'abnormal_settle_type' => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
'description' => 'xx结算失败,转付至原用户',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle')->postAsync([
'settle_batch_no' => '123685544886666',
'json' => [
'individual_auth_id' => '256322110225',
'out_abnormal_settle_batch_no' => '1236698745558870',
'abnormal_settle_type' => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
'description' => 'xx结算失败,转付至原用户',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle']->postAsync([
'settle_batch_no' => '123685544886666',
'json' => [
'individual_auth_id' => '256322110225',
'out_abnormal_settle_batch_no' => '1236698745558870',
'abnormal_settle_type' => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
'description' => 'xx结算失败,转付至原用户',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->ecommerce->settle->prepaySettleOrders->_settle_batch_no_->applyAbnormalSettle->post([
'settle_batch_no' => '123685544886666',
'json' => [
'individual_auth_id' => '256322110225',
'out_abnormal_settle_batch_no' => '1236698745558870',
'abnormal_settle_type' => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
'description' => 'xx结算失败,转付至原用户',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle')->post([
'settle_batch_no' => '123685544886666',
'json' => [
'individual_auth_id' => '256322110225',
'out_abnormal_settle_batch_no' => '1236698745558870',
'abnormal_settle_type' => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
'description' => 'xx结算失败,转付至原用户',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/ecommerce/settle/prepay-settle-orders/{settle_batch_no}/apply-abnormal-settle']->post([
'settle_batch_no' => '123685544886666',
'json' => [
'individual_auth_id' => '256322110225',
'out_abnormal_settle_batch_no' => '1236698745558870',
'abnormal_settle_type' => 'TRANSFER_TO_ORIGINAL_RECEIVE_USER',
'description' => 'xx结算失败,转付至原用户',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
out_settle_batch_no | string | 商户结算批次单号 |
settle_batch_no | string | 微信支付结算批次单号 |
individual_auth_id | string | 商品单个人收款方受理授权ID |
description | string | 收款方描述 |
state | string | 批次状态ACCEPTED | RECEIVED | SUCCESS | DEDUCT_FEE_FAIL | ABNORMAL | ABNORMAL_SETTLE_SUCCESS 枚举值之一 |
trade_scenario | string | 交易场景RECOMMERCE 枚举值 |
create_time | string | 批次创建时间 |
finish_time | string | 批次完成时间 |
abnormal_type | string | 异常原因类型AUTH_RELATIONSHIP_INVALID | USER_PAY_QUOTA_LIMIT 枚举值之一 |
abnormal_settle_result | object | 异常结算处理结果 |
abnormal_settle_type | string | 异常结算批次单处理方式TRANSFER_TO_ORIGINAL_RECEIVE_USER 枚举值 |
apply_success_time | string | 批次创建时间 |
abnormal_fund_receipt_id | string | 微信支付异常资金付款单号 |
out_abnormal_settle_batch_no | string | 商户异常结算批次单号 |
参阅 官方文档